//获取菜单
export const getMenuList = `
query{
getMenuList{
    name
    page
    logo
}
}
`;
// 钱包数据
export const getProfitData = `
query($staff_id:Int){
getProfitData(staff_id:$staff_id){
    freeze
    withdrawal
    count
  }
}
`;
// 消息详情
export const getMessageInfo = `
query($id:Int){
 getMessageInfo(id:$id){
    id
    title
    type
    content
    createtime
    image
  }
}
`;
// 公告详情
export const getNoticeInfo = `
query($id:Int){
getNoticeInfo(id:$id){
    id
    title
    subtitle
    content
    createtime
  }
}
`;
// 活动详情
export const getActivityInfo = `
query($id:Int){
getActivityInfo(id:$id){
    id
    name
    type
    content
}
}
`;
// 收益明细
export const getProfitLog = `
query($staff_id:Int,$page:Int,$type:String,$start:String,$end:String){
getProfitLog(staff_id:$staff_id,page:$page,type:$type,start:$start,end:$end){
    list{
        id
        money
        memo
        after
        createtime
    }
    total
    lastpage
  }
}
`;